import { AnimationClip } from "cc";
import { State } from "../../Base/State";
import { StateMachine } from "../../Base/StateMachine";
import { SubStateMachine } from "../../Base/SubStateMachine";
import { DIRECTION_ENUM, DIRECTION_ORDER_ENUM, PARAMS_NAME_ENUM } from "../../Enums";
import { DirectionSubStateMachine } from "../../Base/DirectionSubStateMachine";

const BASE_URL = 'texture/door/death';

export default class SmokeDeathSubStateMachine extends DirectionSubStateMachine {
    constructor(fms: StateMachine) {
        super(fms);
        this.stateMachines.set(DIRECTION_ENUM.UP, new State(fms, `${BASE_URL}`));
        this.stateMachines.set(DIRECTION_ENUM.DOWN, new State(fms, `${BASE_URL}`));
        this.stateMachines.set(DIRECTION_ENUM.LEFT, new State(fms, `${BASE_URL}`));
        this.stateMachines.set(DIRECTION_ENUM.RIGHT, new State(fms, `${BASE_URL}`));
    }
}